package com.qc.serviceedu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qc.serviceedu.entity.EduCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qc.serviceedu.entity.EduTeacher;
import com.qc.serviceedu.entity.vo.CourseInfoVo;
import com.qc.serviceedu.entity.vo.CoursePublicVo;
import com.qc.serviceedu.query.CourseQuery;
import com.qc.serviceedu.query.TeacherQuery;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author AltmanQc
 * @since 2020-12-25
 */
public interface EduCourseService extends IService<EduCourse> {

    String saveCourse(CourseInfoVo courseInfoVo);

    CourseInfoVo getCourseInfo(String courseId);

    void updateCourseInfoVo(CourseInfoVo courseInfoVo);

    CoursePublicVo publishCourseInfo(String courseId);

    void pageQuery(Page<EduCourse> pageParam, CourseQuery courseQuery);

    void deleteCourse(String courseId);

    List<EduCourse> CourseList();
}
